// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/ModifyPostpaidDBInstanceSpecRequest.h"

namespace aliyun { namespace Rds_Region {

ModifyPostpaidDBInstanceSpecRequest::ModifyPostpaidDBInstanceSpecRequest() : RpcAcsRequest("Rds_Region", "2014-08-15", "ModifyPostpaidDBInstanceSpec") {
}

int64 ModifyPostpaidDBInstanceSpecRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void ModifyPostpaidDBInstanceSpecRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& ModifyPostpaidDBInstanceSpecRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void ModifyPostpaidDBInstanceSpecRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 ModifyPostpaidDBInstanceSpecRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void ModifyPostpaidDBInstanceSpecRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& ModifyPostpaidDBInstanceSpecRequest::GetClientToken(void) const {
  return ClientToken_;
}
void ModifyPostpaidDBInstanceSpecRequest::SetClientToken(const string& ClientToken) {
  ClientToken_ = ClientToken;
  PutQueryParameter("ClientToken", ClientToken_);
}

const string& ModifyPostpaidDBInstanceSpecRequest::GetDBInstanceId(void) const {
  return DBInstanceId_;
}
void ModifyPostpaidDBInstanceSpecRequest::SetDBInstanceId(const string& DBInstanceId) {
  DBInstanceId_ = DBInstanceId;
  PutQueryParameter("DBInstanceId", DBInstanceId_);
}

const string& ModifyPostpaidDBInstanceSpecRequest::GetDBInstanceClass(void) const {
  return DBInstanceClass_;
}
void ModifyPostpaidDBInstanceSpecRequest::SetDBInstanceClass(const string& DBInstanceClass) {
  DBInstanceClass_ = DBInstanceClass;
  PutQueryParameter("DBInstanceClass", DBInstanceClass_);
}

int ModifyPostpaidDBInstanceSpecRequest::GetDBInstanceStorage(void) const {
  return DBInstanceStorage_;
}
bool ModifyPostpaidDBInstanceSpecRequest::SetDBInstanceStorage(int DBInstanceStorage) {
  if(DBInstanceStorage < 5) {
    return false;
  }
  if(DBInstanceStorage > 1000) {
    return false;
  }
  DBInstanceStorage_ = DBInstanceStorage;
  PutQueryParameter("DBInstanceStorage", string_ValueOfInt(DBInstanceStorage_));
  return true;
}

const string& ModifyPostpaidDBInstanceSpecRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void ModifyPostpaidDBInstanceSpecRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
